package com.micai.springboot.controller.admin;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 描述：用户管理
 * <p>
 * Author: 赵新国
 * Date: 2017/11/14 15:21
 */
@Controller
@RequestMapping("/admin")
public class AdminLoginController {

    /**
     * 后台退出
     * @return
     */
    @RequestMapping("/logout")
    public String logout(Model model) {
        return "/admin/index";
    }

}
